import request from "@/utils/request";
// 设置支付密码
export const reqSetPayPassword = (data) => {
    return request({
        url: `swap/user/setPayPassword`,
        method: 'post',
        data
    })
}
// 设置登录密码
export const reqSetLoginPassword = (data) => {
    return request({
        url: `swap/user/setPassword`,
        method: 'post',
        data
    })
}

// 有效码设置支付密码
export const reqSetPayPasswordByValidCode = (data) => {
    return request({
        url: `swap/user/setPayPasswordByValidCode`,
        method: 'post',
        data
    })
}

// 有效码设置登录密码
export const reqSetPasswordByValidCode = (data) => {
    return request({
        url: `swap/user/setPasswordByValidCode`,
        method: 'post',
        data
    })
}
